import Mock from 'mockjs'
import blockList from './data/block-list'

Mock.mock(/block\/list*/, ()=>{
    return blockList
})
Mock.mock(/baseInfo/, ()=>{
    return {
        code: 0,
        msg: 'OK',
        data: {
            price: 0.02,
            diffcult: '837487',
            transaction_number: 5,
            market_price: '2E-02',
            latest_block: 7
        }
    }
})